package cn.iocoder.yudao.module.vos.controller.admin.marketinglistlog.vo;

import io.swagger.v3.oas.annotations.media.Schema;
import lombok.*;
import java.util.*;
import java.math.BigDecimal;
import org.springframework.format.annotation.DateTimeFormat;
import java.time.LocalDateTime;
import cn.idev.excel.annotation.*;
import cn.iocoder.yudao.framework.excel.core.annotations.DictFormat;
import cn.iocoder.yudao.framework.excel.core.convert.DictConvert;

@Schema(description = "管理后台 - 营销名单日志表（含应答状态） Response VO")
@Data
@ExcelIgnoreUnannotated
public class MarketingListLogRespVO {

    @Schema(description = "主键", requiredMode = Schema.RequiredMode.REQUIRED, example = "530")
    @ExcelProperty("主键")
    private Long id;

    @Schema(description = "号码", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("号码")
    private String phoneE164;

    @Schema(description = "分数", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("分数")
    private BigDecimal score;

    @Schema(description = "创建时间", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("创建时间")
    private LocalDateTime createTime;

    @Schema(description = "手机MD5")
    @ExcelProperty("手机MD5")
    private String phoneMd5;

    @Schema(description = "业务标签")
    @ExcelProperty("业务标签")
    private String phoneTags;

    @Schema(description = "SecretAccount 主键ID/关联ID", example = "8943")
    @ExcelProperty("SecretAccount 主键ID/关联ID")
    private Long secretId;

    @Schema(description = "应答时间")
    @ExcelProperty("应答时间")
    private LocalDateTime responseTime;

    @Schema(description = "应答状态：0未应答 1注册 2成交", requiredMode = Schema.RequiredMode.REQUIRED)
    @ExcelProperty("应答状态：0未应答 1注册 2成交")
    private Integer responseState;

    @Schema(description = "租户ID", example = "31295")
    @ExcelProperty("租户ID")
    private Long rechargeTenantId;

    @Schema(description = "名单等级：1差 2中级 3优质")
    @ExcelProperty(value = "名单等级：1差 2中级 3优质", converter = DictConvert.class)
    @DictFormat("list_level") // TODO 代码优化：建议设置到对应的 DictTypeConstants 枚举类中
    private String listLevel;

    private String listDate;

    private String marketingTools;

}
